package com.bbx.taxi.client.Task;

import android.app.Activity;
import android.content.Context;

import com.bbx.androidapi.util.SharedPreUtil;
import com.bbx.androidapi.util.ToastUtil;
import com.bbx.api.sdk.model.passanger.ActivityContentBuild;
import com.bbx.api.sdk.model.passanger.CouponCountBuild;
import com.bbx.api.sdk.model.passanger.Return.ActivityContent;
import com.bbx.api.sdk.net.base.BaseNetwork;
import com.bbx.api.sdk.net.base.JsonBuild;
import com.bbx.api.sdk.net.passeger.conn.ActivityNet;
import com.bbx.api.sdk.net.passeger.conn.CancelReasonListNet;
import com.bbx.api.sdk.net.passeger.conn.CouponCountNet;
import com.bbx.taxi.client.Bean.Message.ObserverListener.DATA_TYPE;
import com.bbx.taxi.client.Task.BaseAsyncTask;
import com.bbx.api.util.SharedPreEncryptUtil;
import com.bbx.taxi.client.MyApplication;
import com.bbx.taxi.client.R;
/** 
 * @Path com.bbx.taxi.client.Task.MyActivityTask.java
 * @Author 严旭文
 * @Date 2016-5-24 上午9:48:51
 * @Company 蓝海（福建）信息技术有限公司
 * @Description
 * 活动详情
 */
public class MyActivityTask extends BaseTask{
    public DATA_TYPE TYPE=DATA_TYPE.ACTIVITY;
    ActivityContentBuild mActivityContentBuild;
    public String city;
	public MyActivityTask(Activity context,String city) {
		super(context);
		mActivityContentBuild = new ActivityContentBuild(context);
		mActivityContentBuild.city =city;
	}
	@Override
	public boolean isShow() {
		return false;
	}
	@Override
	public boolean isReturnString() {
		return false;
	}
	@Override
	public boolean condition() {
		// TODO Auto-generated method stub
		return true;
	}
	public void request() {
		setType(TYPE,mActivityContentBuild);
	}
	@Override
	public void success(int status,Object object) {
		// TODO Auto-generated method stub
		
	}
	@Override
	public void failed(int status, String msg,String message) {
		// TODO Auto-generated method stub
		
	}
	@Override
	public BaseNetwork getBaseNetwork() {
		return new ActivityNet(context);
	}
}
